package com.heima.admin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.heima.admin.mapper.AdChannelMapper;
import com.heima.model.admin.dtos.ChannelDTO;
import com.heima.model.admin.pojos.AdChannel;
import com.heima.model.common.dtos.ResponseResult;

public interface AdChannelService extends IService<AdChannel> {
     ResponseResult findByNameAndPage(ChannelDTO dto);

     public ResponseResult insert(AdChannel channel);

     ResponseResult update(AdChannel channel);

     ResponseResult delete(Integer id);
}
